import { MenuRouter } from '@/pages/SalaryManage/components/MenuFilterRouter';

/** 【险金】权限码 */
const SOCIAL_AUTH_CODE = 'finance:salary:computation:social:social';
/** 【绩效系数】权限码 */
const TAX_AUTH_CODE = 'finance:salary:computation:social:tax';
/** CPF FILE */
const CPF_AUTH_CODE = 'finance:salary:computation:social:cpf';
/** 【SHG】权限码 */
const SHG_AUTH_CODE = 'finance:salary:computation:social:shg';
/* 【技能发展税SDL】权限码 */
const SDL_AUTH_CODE = 'finance:salary:computation:social:sdl';

const MENU_AUTH_CODE_MAP = {
    CN: [SOCIAL_AUTH_CODE, TAX_AUTH_CODE],
    SG: [CPF_AUTH_CODE, SHG_AUTH_CODE, SDL_AUTH_CODE]
};

export default MenuRouter('insuranceFundFileModel', MENU_AUTH_CODE_MAP);
